Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add json for uploaded assets to recipe #34

Merged
merged 4 commits into from
Mar 2, 2024
Merged

Conversation

alexdetsch
Copy link
Collaborator

As discussed in #31 with the current version of mealie the step-images are missing. That is due the following behavior of mealie and kptncook:

  1. kptncook creates recipe in mealie and uploads assets (working fine)
  2. kptncook uploades recipe-json
  3. mealie expects an assets-node. That was already implemented in kptncook but it was never filled, so an empty assets-node was sent to mealie
  4. mealie deletes all assets that are not in the assets node from the uploaded json --> all our uploaded assets are getting deleted again

This PR fills the assets node with the metadata of the uploaded assets.

@ephes ephes merged commit 65be694 into ephes:main Mar 2, 2024
@ephes
Copy link
Owner

ephes commented Mar 2, 2024

Wow, really cool, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants